package com.ruoyi.db.mapper.system;


import com.ruoyi.db.domain.system.MpCashApply;

import java.util.List;

/**
 * 用户申请提现记录Mapper接口
 * 
 * @author ruoyi
 * @date 2022-07-23
 */
public interface MpCashApplyMapper
{
    /**
     * 查询用户申请提现记录
     * 
     * @param cashApplyId 用户申请提现记录主键
     * @return 用户申请提现记录
     */
    public MpCashApply selectMpCashApplyByCashApplyId(Long cashApplyId);

    /**
     * 查询用户申请提现记录列表
     * 
     * @param mpCashApply 用户申请提现记录
     * @return 用户申请提现记录集合
     */
    public List<MpCashApply> selectMpCashApplyList(MpCashApply mpCashApply);

    /**
     * 查询用户申请提现记录列表By时间节点
     *
     * @param mpCashApply 用户申请提现记录
     * @return 用户申请提现记录集合
     */
    public List<MpCashApply> selectMpCashApplyListByTime(MpCashApply mpCashApply);
    /**
     * 查询用户申请提现记录列表By时间节点
     *
     * @param mpCashApply 用户申请提现记录
     * @return 用户申请提现记录集合
     */
    public List<MpCashApply> selectMpCashApplyListByMonth(MpCashApply mpCashApply);

    /**
     * 新增用户申请提现记录
     * 
     * @param mpCashApply 用户申请提现记录
     * @return 结果
     */
    public int insertMpCashApply(MpCashApply mpCashApply);

    /**
     * 修改用户申请提现记录
     * 
     * @param mpCashApply 用户申请提现记录
     * @return 结果
     */
    public int updateMpCashApply(MpCashApply mpCashApply);

    /**
     * 删除用户申请提现记录
     * 
     * @param cashApplyId 用户申请提现记录主键
     * @return 结果
     */
    public int deleteMpCashApplyByCashApplyId(Long cashApplyId);

    /**
     * 批量删除用户申请提现记录
     * 
     * @param cashApplyIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMpCashApplyByCashApplyIds(Long[] cashApplyIds);
    public List<MpCashApply> selectMpCashApplyListByTimeAndBankIds(MpCashApply mpCashApply);

}
